﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace RK.Model.Ronma
{
    public class Payable
    {
        /// <summary>
        /// 
        /// </summary>
        public PayableModel Model { get; set; }
    }
    public class PayableModel
    {
        /// <summary>
        /// 送货地址
        /// </summary>
        public string F_SHDZ { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string F_CPH { get; set; }
        public string F_POSW_outBillno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FBillTypeID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FENDDATE_H { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSUPPLIERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FCURRENCYID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FPayConditon { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISPRICEEXCLUDETAX { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBUSINESSTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISTAX { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSETTLEORGID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FPAYORGID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSetAccountType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCancelStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FsubHeadFinc FsubHeadFinc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FEntityDetailItem> FEntityDetail { get; set; }
    }
    public class FsubHeadFinc
    {
        /// <summary>
        /// 
        /// </summary>
        public DateTime FACCNTTIMEJUDGETIME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FMAINBOOKSTDCURRID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FEXCHANGETYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FExchangeRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISCARRIEDDATE { get; set; }
    }
    public class FEntityDetailItem
    {
        /// <summary>
        /// 费用承担部门
        /// </summary>
        public GetNumber FCOSTDEPARTMENTID { get; set; }
        /// <summary>
        /// 源单编号
        /// </summary>
        public string FSourceBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FCOSTID { get; set; }
        public decimal FTaxPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FPriceQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double FEntryTaxRate { get; set; }
        /// <summary>
        /// 价税合计本位币
        /// </summary>
        //public decimal FALLAMOUNT_D { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool FINCLUDECOST { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool FINCLUDECONTRACTCOMPCOST { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<GetNumber> FOUTSTOCKID { get; set; }
        public List<LinkItem> FEntityDetail_Link { get; set; }
    }
}
